<script setup>
const props = defineProps({
  title: {
    type: String,
    default: '默认弹出框'
  },
  width: {
    type: String,
    default: '500px'
  }
});
</script>

<template>
  <el-dialog destroy-on-close :close-on-click-modal="false" :close-on-press-escape="false" :title="title"
    :width="width">
    <slot></slot>
  </el-dialog>
</template>

<style scoped lang="scss"></style>
